import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

import Parsing error: Identifier 'Vue' has already been declared.

6 |
7 |
>  8 | Vue.use(VueRouter)
  | ^
9 |
10 | const routes = [
11 |   {


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    name: 'Home',
    component: Home
  },
  {
    path: '/order',
    name: 'Order',
    component: Order
  },
  {
    path: '/shopping',
    name: 'Shopping',
    component: Shopping
  },
  {
    path: '/core',
    name: 'Core',
    component: Core
  }
]

const router = new VueRouter({
  routes
})

export default router
